package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.ruoyi.system.domain.vo.MedicineVo;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.mapper.MedicineMapper;
import com.ruoyi.system.domain.Medicine;
import com.ruoyi.system.service.IMedicineService;

import javax.annotation.Resource;
import java.util.List;

/**
 * 药品列表Service业务层处理
 *
 * @author yangxp
 * @date 2020-07-29
 */
@Service
public class MedicineServiceImpl extends ServiceImpl<MedicineMapper, Medicine> implements IMedicineService {
	@Resource
	MedicineMapper medicineMapper;

	@Override
	public List<Medicine> listMedicine(Wrapper<Medicine> wrapper) {
		return medicineMapper.selectMedicineList(wrapper);
	}
}
